/**
 * 定制全局重复按钮，方便统一改变样式
 * @author luguoxiang
 * @date 2021-09-07
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
import ToolAdd from './ToolAdd.vue';
import ToolExport from './ToolExport.vue';
import ToolImport from './ToolImport.vue';
import ToolMore from './ToolMore.vue';
import ToolRemove from './ToolRemove.vue';
import ToolUpdate from './ToolUpdate.vue';
import ToolView from './ToolView.vue';

import RowAdd from './RowAdd.vue';
import RowExport from './RowExport.vue';
import RowImport from './RowImport.vue';
import RowMore from './RowMore.vue';
import RowRemove from './RowRemove.vue';
import RowUpdate from './RowUpdate.vue';
import RowView from './RowView.vue';

/* export {
  ToolAdd,
  ToolExport,
  ToolImport,
  ToolMore,
  ToolRemove,
  ToolUpdate,
  ToolView,
  RowAdd,
  RowExport,
  RowImport,
  RowMore,
  RowRemove,
  RowUpdate,
  RowView,
}; */

export default function install(app: any) {
  app.component('BtnToolAdd', ToolAdd);
  app.component('BtnToolExport', ToolExport);
  app.component('BtnToolImport', ToolImport);
  app.component('BtnToolMore', ToolMore);
  app.component('BtnToolRemove', ToolRemove);
  app.component('BtnToolUpdate', ToolUpdate);
  app.component('BtnToolView', ToolView);

  app.component('BtnRowAdd', RowAdd);
  app.component('BtnRowExport', RowExport);
  app.component('BtnRowImport', RowImport);
  app.component('BtnRowMore', RowMore);
  app.component('BtnRowRemove', RowRemove);
  app.component('BtnRowUpdate', RowUpdate);
  app.component('BtnRowView', RowView);
}
